/*
 * @Author: xuhua
 * @Date: 2023-09-13 13:57:08
 * @LastEditors: xuhua
 * @LastEditTime: 2023-09-13 14:01:42
 * @FilePath: /v3-element-admin/src/hooks/useEnv.ts
 * @Description: 使用env环境变量hook
 */
export function useEnv() {
	const { VITE_APP_TITLE, VITE_APP_PORT, VITE_APP_BASE_API, VITE_APP_TARGET_URL } = import.meta.env;

	return { VITE_APP_TITLE, VITE_APP_PORT, VITE_APP_BASE_API, VITE_APP_TARGET_URL };
}
